package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

/**
 * @Author：chess
 * @Package：com.sky.service
 * @Project：sky-take-out
 * @name：AddressBookService
 * @Date：2025/6/8/16:05
 * @Filename：AddressBookService
 */
public interface AddressBookService {

    List<AddressBook> list(AddressBook addressBook);

    void save(AddressBook addressBook);

    AddressBook getById(Long id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);

}